package com.mewp.permissions.model.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 角色菜单
 *
 * @author mewp
 */
@TableName(value = "sys_role_menu")
@EqualsAndHashCode(callSuper = true)
@Data
public class SysRoleMenu extends BaseEntity {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 角色Id
     */
    @TableField(value = "role_id")
    private Long roleId;

    /**
     * 菜单Id
     */
    @TableField(value = "menu_id")
    private Long menuId;
}